
component  output="false" extends="ModelGlue.Util.ValidationErrorCollection"
{

	public it.millemultimedia.easyBlog.validator.SkinValidator function init(){
		
		super.init();
		
		return this;
	}
	
	public void function validate( required Any bean ){
		
		
		if( not len( arguments.bean.getIdskin() ) ){

			addError( 'Idskin', 'Idskin is required' );
		
		}
		
		if( not len( arguments.bean.getName() ) ){

			addError( 'Name', 'Name is required' );
		
		}
		
		if( not len( arguments.bean.getDescription() ) ){

			addError( 'Description', 'Description is required' );
		
		}
		
		if( not len( arguments.bean.getStatus() ) ){

			addError( 'Status', 'Status is required' );
		
		}
		
		if( not len( arguments.bean.getIdblog() ) ){

			addError( 'Idblog', 'Idblog is required' );
		
		}
		

	}

}
